<?php
// +----------------------------------------------------------------------
// | Longbing [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright Chengdu longbing Technology Co., Ltd.
// +----------------------------------------------------------------------
// | Website http://longbing.org/
// +----------------------------------------------------------------------
// | Sales manager: +86-13558882532 / +86-13330887474
// | Technical support: +86-15680635005
// | After-sale service: +86-17361005938
// +----------------------------------------------------------------------

declare(strict_types=1);



//模块组件 后台DIY页面的左侧
return [
    //链接类型
    [
        'key' => 20,
        "title"=>"案例",
        "type" =>"case",
        "data" => [
            [
                //接口请求路径   api_path 不为空, 返回 page + '?' 数据参数
                "api_path"=>"/decorate/AdminCase/diylist",
                //已经取消了
                //"params"=>"{"page" : "PAGE", "page_count" : "PAGE_COUNT"}",
                "title"=>"案例详情页面",
                //小程序路径
                "page"=>"/renovation/pages/case/detail"
            ],
            [
                //如果api_path为空 , 直接返回 page路径
                "api_path"=>"",
                "params"=>"",
                "title"=>"案例筛选页面",
                "page"=>"/renovation/pages/case/filter"
            ]
        ]
    ],
    [
        'key' => 20,
        "title"=>"工地",
        "type" =>"decorateSite",
        "data" => [
            [
                //接口请求路径   api_path 不为空, 返回 page + '?' 数据参数
                "api_path"=>"/decorate/AdminSite/diylist",
                "title"=>"工地详情页面",
                //小程序路径
                "page"=>"/renovation/pages/site/detail"
            ],
            [
                //如果api_path为空 , 直接返回 page路径
                "api_path"=>"",
                "params"=>"",
                "title"=>"工地筛选页面",
                "page"=>"/renovation/pages/site/filter"
            ]
        ]
    ],

    [
        'key' => 20,
        "title"=>"攻略",
        "type" =>"decorateNews",
        "data" => [
            [
                //接口请求路径   api_path 不为空, 返回 page + '?' 数据参数
                "api_path"=>"/decorate/AdminNews/diylist",
                "title"=>"攻略详情页面",
                //小程序路径
                "page"=>"/renovation/pages/strategy/detail"
            ],
            [
                //如果api_path为空 , 直接返回 page路径
                "api_path"=>"",
                "params"=>"",
                "title"=>"攻略筛选页面",
                "page"=>"/renovation/pages/strategy/list"
            ]
        ]
    ]
    ,

    [
        'key' => 20,
        "title"=>"其他",
        "type" =>"decorateOther",
        "data" => [
            [
                "api_path"=>"",
                "params"=>"",
                "title"=>"智能报价",
                "page"=>"/renovation/pages/offer/offer?from=2"
            ],
            [
                "api_path"=>"",
                "params"=>"",
                "title"=>"免费预约",
                "page"=>"/renovation/pages/design/design?from=2"
            ],
            [
                "api_path"=>"",
                "params"=>"",
                "title"=>"最新活动",
                "page"=>"/activity/pages/search?news=1"
            ],
            [
                "api_path"=>"",
                "params"=>"",
                "title"=>"团队列表页面",
                "page"=>"/renovation/pages/team/team"
            ],
            [
                "api_path"=>"",
                "params"=>"",
                "title"=>"关于我们",
                "page"=>"/renovation/pages/about"
            ]

        ]
    ]

];
